URL url = new URL(address);
HttpURLConnection httpcon = (HttpURLConnection) url.openConnection();
httpcon.addRequestProperty("User-Agent", "Mozilla/4.0");
FileUtils.copyInputStreamToFile(httpcon.getInputStream(), new File(name));